# 項目タイプ
class ItemType
  def initialize()
  end

  # 予算ごとの支出総計項目
  COMPOUND = :"compound"

  # 予算項目
  BUDGET = :"budget"
  
  # 支出項目
  OUTGOING = :"outgoing"
  
  def ItemType.valueOf(value)
    case value
      when "compound"
      return COMPOUND
      when "budget"
      return BUDGET
      when "outgoing"
      return OUTGOING
    else
      raise(ArgumentError, "unknown ItemType [" + value +  "].", caller)

    end
  end
end


